﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NYdlls
{
    public class Staff
    {
        private double weight;
        public double getWeight()
        {
            return weight;
        }
        public void setWeight(double weight)
        {
            this.weight = weight;
        }
    }

    public class Sweet : Staff
    {
        private String color;
        private String taste;
        public Sweet()
        {

        }
        public void setColor(String set)
        {
            this.color = set;
        }
        public String getColor()
        {
            return color;
        }
        public void setTaste(String set)
        {
            this.taste = set;
        }
        public String getTaste()
        {
            return taste;
        }
    }

    public class Chocolate : Staff
    {
        public double cocoa;
        public Chocolate(double per)
        {
            this.cocoa = per;
        }
        public double getPercent()
        {
            return cocoa;
        }
    }

    public class Candy : Staff
    {
        private String filling;
        private String firm;
        public String getFirm()
        {
            return firm;
        }
        public void setFirm(String set)
        {
            this.firm = set;
        }
        public void setFilling(String set)
        {
            this.filling = set;
        }
        public String getFilling()
        {
            return filling;
        }
    }

    public class Lollipop : Staff
    {
        private String consist;
        public String getConsist()
        {
            return consist;
        }
        public void setConsist(String set)
        {
            this.consist = set;
        }
    }

    public class Willy_Wonkas : Chocolate
    {
        public Willy_Wonkas(double per):base(per)
        {
        }
        public bool GoldenTicket;
        public bool getTicket()
        {
            return GoldenTicket;
        }
    }

    public class Present
    {
        public List<Sweet> sweet;
        public List<Chocolate> choco;
        public List<Candy> candy;
        public List<Lollipop> lol;
        public bool bSweet, bChoco, bCandy, bLol;
    }

    

}
